
cd `dirname $0`
mkdir -p build
rm -rf build/*
export CGO_ENABLED=1
export GOARCH=amd64
export GOOS=windows
go build -ldflags="-w -s"
mv meMp3Player.exe build/meMp3Player.exe
export GOARCH=386
go build -ldflags="-w -s"
mv meMp3Player.exe build/meMp3Player-i386.exe
export GOOS=linux
go build -ldflags="-w -s"
mv meMp3Player build/meMp3Player-linux-i386
export GOARCH=amd64
go build -ldflags="-w -s"
mv meMp3Player build/meMp3Player-linux
export GOARCH=arm
go build -ldflags="-w -s"
mv meMp3Player build/meMp3Player-linux-arm
export GOARCH=mips
go build -ldflags="-w -s"
mv meMp3Player build/meMp3Player-linux-mips
export GOARCH=arm64
go build -ldflags="-w -s"
mv meMp3Player build/meMp3Player-linux-arm64
export GOOS=darwin
go build -ldflags="-w -s"
mv meMp3Player build/meMp3Player-darwin-arm64
export GOARCH=amd64
go build -ldflags="-w -s"
mv meMp3Player build/meMp3Player-darwin